﻿using ASmile.Com.Search;
using ASmile.DBModel;
using System.Collections.Generic;

namespace ASmile.Com
{
    public interface ISearchBLL
    {
        ApiResult DelRecord(Sys_ADRecord record);
        ApiResultList<Sys_GridColumn> GetColumns(GridView.ArgGetList arg);
        ApiResult<Sys_ADRecord> GetDefRecord(ArgRecordSearch arg);
        ApiResultList<Sys_ADRecord_Detail> GetRecordDetail(ArgMainId arg);
        ApiResultList<Sys_ADRecord> GetRecordList(ArgRecordSearch arg);
        ApiResult SaveDefRecord(ArgSaveRecord arg);
        ApiResult<string> SaveRecord(ArgSaveRecord arg);
        ApiResult<string> UpdateRecord(Sys_ADRecord record);
    }
}